package ru.artyushov.fingers.core.data;

public class Fingerprint {
    private final boolean[][] data;
    private final int rowNumber;

    public Fingerprint(boolean[][] data, int rowNumber) {
        this.rowNumber = rowNumber;
        this.data = data.clone();
    }
    
    public boolean[][] getData() {
        return data.clone();
    }

    public boolean isFilled(int col, int row) {
        return data[col][row];
    }
    
    public int getRowNumber() {
        return rowNumber;
    }
    
    public int getColNumber() {
        return data.length;
    }
}
